.par {
	width: 100px;
	height: 100px;
	background-color: black;
	transform: translateY(50px);
}

.par .child {
	width: 50px;
	height: 50px;
	margin: auto;
	background-color: red;
}